<template>
  <div class="welcome-wrapper">
    <div class="content">
      <h2>欢迎页</h2>
      <p>这是欢迎页 ...</p>
      <el-button @click="$router.go(-1)">返回上一页</el-button>
      <router-link to="/">
        <el-button type="primary" class="btn-gohome">进入首页</el-button>
      </router-link>
    </div>
  </div>
</template>

<style lang="scss">
.welcome-wrapper {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  .content {
    position: fixed;
    top: 15%;
    left: 50%;
    z-index: 2;
    padding: 30px;
    text-align: center;
    transform: translate(-50%, 0);
  }
}
</style>
